press button on enter

140

press button on enter -

searchInput.onkeyup = function (e) {
    if (e.key === 'Enter') {
        searchBtn.click();
    }
}

Comments

Submit
0 Comments